#ifndef QCOMBOITEMEDITDIALOG_H
#define QCOMBOITEMEDITDIALOG_H

#include "../corelibglobal.h"

#include "../qbasedialog.h"
#include <QVariant>

namespace Ui {
class QComboItemEditDialog;
}

class CORELIB_EXPORT QComboItemEditDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QComboItemEditDialog(const QVariant& value,QWidget *parent = 0);
    ~QComboItemEditDialog();
    
    int get_ret();
    QVariant get_value();
private slots:
    void on_addBtn_clicked();

    void on_okBtn_clicked();

    void on_cancelBtn_clicked();

    void    edit();
    void    remove();
    void    up();
    void    down();
private:
    Ui::QComboItemEditDialog *ui;

    QVariant    m_value;
    int         m_ret;
    QStringList m_last_icon;
};

#endif // QCOMBOITEMEDITDIALOG_H
